package com.kudesoft.kudesoft.service;

import com.kudesoft.kudesoft.entity.Student;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * @author：杜習田
 * @date 2019/5/1 17:54
 */
public interface StudentService {

    Student save(Student student);
    void delete(Integer id);
    Student findStuById(Integer id);
    List<Student> findStuByName(String name);

    Page<Student> findAll(int page,int pageSize);

}
